<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        a{
            text-decoration: none;
        }
        .banner{
            background: url(../img/banner2.jpg) no-repeat top;
            width: 100%;
            height: 100%;
            position:absolute;
            top: 0;
            left: 0;
            background-size: 100% 100%;
        }
        .reg{
            width: 400px;
            height: 500px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin: -250px 0 0 -200px;
            border-radius: 12px;
            box-shadow:20px 25px 45px 15px;
        }
        .right{
            float: right;
            width: 415px;
            height: 500px;
            
        }
        .login>h2{
            display: block;
            margin-top: 30px ;
            text-align: center;
            font-size: 30px;
        }
        .group{
            margin: 30px auto 0;
            width: 300px;
            position: relative;
        }
        .group>img{
            position: absolute;
            margin: 13px;
            height: 16px;
            z-index: 1;
        }
        .group .input{
            width: 300px;
            height: 45px;
            margin-right: 10px;
            position: relative;
            font-size: 14px;
            display: inline-block;
            border-radius: 5px;
        }
        .group .input input{
            width: 250px;
            line-height: 22px;
            height: 22px;
            box-sizing: inherit;
            padding: 10px 0 10px 45px;
            color: #000;
            font-size: 13px;
            border-radius: 5px;
        }
        .group .btn{
            width: 300px;
            height: 40px;
            line-height: 40px;
            font-size: 24px;
            display: block;
            margin: 0 auto;
            border-radius: 5px;
            cursor: pointer;
           
        }
        .group .input #ac{
            width: 120px;
            line-height: 22px;
            height: 22px;
            box-sizing: inherit;
            padding: 10px 0 10px 45px;
            color: #000;
            font-size: 13px;
            border-radius: 5px;
        }
        .group .input #re{
            width: 100px;
            float: right;
            height: 40px;
            line-height: 40px;
            border: 2px solid black;
            text-align: center;
            border-radius: 5px;
        }
        [name="msg"]{
          /* width:250px;
          height: 40px; */
          border-radius: 5px;
          font-size: 14px;
          color: coral;
          float: right;
          margin-top: 10px;
          margin-right: 105px;
        }
    </style>
</head>
<body>
    <div class="banner">
        <div class="reg">
            <div class="right">
            <div class="login">
                <h2>Welcome</h2>
                <div class="group">
                    <img src="../img/1.png" alt="">
                    <div class="input">
                        <input type="text" name="name" class="inputwidth"  placeholder="请输入用户名">
                        <span name="nameSpan" class="spanSpan"></span>
                    </div>
                </div>
                <div class="group">
                    <img src="../img/2.png" alt="">
                    <div class="input">
                        <input type="password" minlength="6" name="pwd1" class="inputwidth"  placeholder="请输入密码">
                    </div>
                </div>
                <div class="group">
                    <img src="../img/2.png" alt="">
                    <div class="input">
                        <input type="password" name="pwd2" class="inputwidth"  placeholder="请确认密码">
                    </div>
                </div>
                <div class="group">
                    <img src="../img/3.png" alt="">
                    <div class="input">
                        <input type="text"  name="vc" class="inputWidth" id="ac" placeholder="请输入验证码">
                        <div id="re"><a id="sc">验证码</a></div>
                    </div>
                </div>
                <div class="group">
                      <button class="btn">注册</button>
                  </div>
            </div>
            <div name="msg"></div>
            </div>
        </div>
    </div>
    
    <script src="../tools/jquery.min.js"></script>
    <script src="../js/ajax.js"></script>
    <script src="../js/tools.js"></script>
    <script src="../js/reg.js"></script>
</body>
</html>